package person.drf.shop.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import person.drf.common.utils.PageUtils;
import person.drf.shop.ware.entity.PurchaseEntity;
import person.drf.shop.ware.vo.MergeVo;
import person.drf.shop.ware.vo.PurchaseDoneVo;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author dengrunfa
 * @email 1270733328@qq.com
 * @date 2020-04-07 16:12:25
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageUnreceivePurchase(Map<String, Object> params);

    void mergePurchase(MergeVo mergeVo);

    void received(List<Long> longList);

    void finish(PurchaseDoneVo purchaseDoneVo);
}

